//
//  AppSetting.h
//  SFA_Core
//
//  Created by Vergil on 2017/4/10.
//  Copyright © 2017年 Vergil. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UserInfoModel.h"
#import "TBRHomeModel.h"
@interface AppSetting : NSObject

/**
 登录时输入token
 */
@property (nonatomic,copy)NSString *accessToken;

/**
 动态来改变链接------------------------
 */
@property (nonatomic,copy)NSString *baseUrlString;

@property (nonatomic,copy)NSString *userName;

@property (nonatomic,copy)NSString *isLogin;

@property (nonatomic,strong)TBRRentAllMessageModel *allMessageModel;

+ (instancetype)shareAppSetting;

/**
 获取密码
 
 @param userName 用户名
 @return 密码
 */
- (NSString *)passwordForUserName:(NSString *)userName;

/**
 设置密码
 
 @param passWord 密码
 @param userName 用户名
 */
- (void)setPassWord:(NSString *)passWord userName:(NSString *)userName;


/**
 退出登录
 */
- (void)logoOut;
/**
 登录
 */
- (void)loginIn;
@end
